
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author jansing
 * lz_jansing@163.com
 */
public class Test {

    public static void main(String[] args){
        Map<String, Object> params = new HashMap<>();
        params.put("username", "jansing");
        params.put("password", "jansing");
        new Test().testMap(params);
    }
    
    
    public void testMap(Map<String, Object> params){

        Iterator k = params.keySet().iterator();
        while(k.hasNext()){
            System.out.println(k.next().toString());
        }
    }
}
